package com.wgq.test;

public class TsetFrame implements IFrame {

    @Override
    public void ITest() {
        System.out.println("IFrame");
    }
    private static void TestUtil(IFrame I){
        I.ITest();
    }
    public static void main(String[] args) {
        TestUtil(new TestFrame1());
    }

}

class TestFrame1 implements IFrame {

    @Override
    public void ITest() {
        System.out.println("IFrame1111");

    }
}